runtime.mspan.npages (field)

31 uses

	runtime (current package)
		arena.go#L871: 	if s.npages*pageSize != userArenaChunkBytes {
		arena.go#L892: 	sysFault(unsafe.Pointer(s.base()), s.npages*pageSize)
		arena.go#L897: 	gcController.heapInUse.add(-int64(s.npages * pageSize))
		arena.go#L910: 	atomic.Xaddint64(&stats.committed, -int64(s.npages*pageSize))
		arena.go#L911: 	atomic.Xaddint64(&stats.inHeap, -int64(s.npages*pageSize))
		arena.go#L952: 	if s.npages*pageSize != userArenaChunkBytes {
		heapdump.go#L486: 		n := (s.npages << _PageShift) / size
		mbitmap.go#L577: 	if span.npages == 1 {
		mbitmap.go#L581: 	return heapBitsSlice(span.base(), span.npages*pageSize)
		mbitmap.go#L602: 	spanSize := span.npages * pageSize
		mbitmap.go#L730: 				memclrNoHeapPointers(unsafe.Pointer(progSpan.base()), progSpan.npages*pageSize)
		mcache.go#L212: 	gcController.update(int64(s.npages*pageSize)-int64(usedBytes), int64(c.scanAlloc))
		mcache.go#L249: 	gcController.update(int64(s.npages*pageSize), 0)
		mgcsweep.go#L388: 			npages = s.npages
		mgcsweep.go#L521: 		trace.GCSweepSpan(s.npages * _PageSize)
		mgcsweep.go#L525: 	mheap_.pagesSwept.Add(int64(s.npages))
		mgcsweep.go#L731: 		mheap_.pagesInUse.Add(-s.npages)
		mheap.go#L402: 	npages    uintptr // number of pages in span
		mheap.go#L496: 	total = s.npages << _PageShift
		mheap.go#L895: 						npages := s.npages
		mheap.go#L1393: 		s.limit = s.base() + s.npages*pageSize
		mheap.go#L1570: 			bytes := s.npages << _PageShift
		mheap.go#L1576: 			bytes := s.npages << _PageShift
		mheap.go#L1627: 		h.pagesInUse.Add(-s.npages)
		mheap.go#L1639: 	nbytes := s.npages * pageSize
		mheap.go#L1659: 	h.pages.free(s.base(), s.npages)
		mheap.go#L1703: 	span.npages = npages
		mheap.go#L1731: 		print("runtime: failed mSpanList.remove span.npages=", span.npages,
		stack.go#L519: 			log2npage := stacklog2(s.npages)
		traceallocfree.go#L92: 	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpan, traceSpanID(s), traceArg(s.npages), traceSpanTypeAndClass(s))
		traceallocfree.go#L97: 	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpanAlloc, traceSpanID(s), traceArg(s.npages), traceSpanTypeAndClass(s))